Repository navigation
Conversation
jbatterman
left a comment
There was a problem hiding this comment.
Looking forward to seeing how this fits in with our workflow!
|
Ok I updated this to include the main cpython/jython bridge script that can be referenced from RTS or DSS view with jython launcher scripts by using the It finds the bridge script at The jython launcher examples that call the cpython bridge script include one that will launch a GUI to select one of multiple python scripts, an RTS example that will directly call one python script, and an HEC-DSS VUE jython launcher example. There are 3 options for passing on CDA credentials to python:
There is also an option to pass jython context to the python script at the time of launch including:
|
I updated this python script launcher example to renew and pass the RTS CDA token, pass some RTS env variables (current watershed, active run, forecast window etc...), and stream stout and staderr to output window. A bit of a hack but might work until cpython is more integrated into RTS.
EDIT: AI assisted